<template>
  <div>
    <el-col style="text-align: center;">
      <el-empty :image="imgUrl" :description="desc"></el-empty>
    </el-col>
  </div>
</template>

<script>
import img from "@/assets/nodata.png";

export default {
  name: "noData",
  props: {
    imgUrl: {
      type: String,
      default: img,
    },
    desc: {
      type: String,
      default: "暂无数据",
    },
  },
};
</script>

<style lang="scss"></style>
